package protobuf {
	import com.netease.protobuf.*;
	use namespace com.netease.protobuf.used_by_generated_code;
	import com.netease.protobuf.fieldDescriptors.*;
	import flash.utils.Endian;
	import flash.utils.IDataInput;
	import flash.utils.IDataOutput;
	import flash.utils.IExternalizable;
	import flash.errors.IOError;
	// @@protoc_insertion_point(imports)

	// @@protoc_insertion_point(class_metadata)
	public dynamic final class BLIND_INFO extends com.netease.protobuf.Message {
		/**
		 *  @private
		 */
		public static const LEVEL:FieldDescriptor$TYPE_UINT32 = new FieldDescriptor$TYPE_UINT32("protobuf.BLIND_INFO.level", "level", (1 << 3) | com.netease.protobuf.WireType.VARINT);

		public var level:uint;

		/**
		 *  @private
		 */
		public static const SMALLBLIND:FieldDescriptor$TYPE_DOUBLE = new FieldDescriptor$TYPE_DOUBLE("protobuf.BLIND_INFO.smallblind", "smallblind", (2 << 3) | com.netease.protobuf.WireType.FIXED_64_BIT);

		public var smallblind:Number;

		/**
		 *  @private
		 */
		public static const BIGBLIND:FieldDescriptor$TYPE_DOUBLE = new FieldDescriptor$TYPE_DOUBLE("protobuf.BLIND_INFO.bigblind", "bigblind", (3 << 3) | com.netease.protobuf.WireType.FIXED_64_BIT);

		public var bigblind:Number;

		/**
		 *  @private
		 */
		public static const ANTE:FieldDescriptor$TYPE_UINT32 = new FieldDescriptor$TYPE_UINT32("protobuf.BLIND_INFO.ante", "ante", (4 << 3) | com.netease.protobuf.WireType.VARINT);

		public var ante:uint;

		/**
		 *  @private
		 */
		public static const MINUTE:FieldDescriptor$TYPE_UINT32 = new FieldDescriptor$TYPE_UINT32("protobuf.BLIND_INFO.minute", "minute", (5 << 3) | com.netease.protobuf.WireType.VARINT);

		public var minute:uint;

		/**
		 *  @private
		 */
		override used_by_generated_code final function writeToBuffer(output:com.netease.protobuf.WritingBuffer):void {
			com.netease.protobuf.WriteUtils.writeTag(output, com.netease.protobuf.WireType.VARINT, 1);
			com.netease.protobuf.WriteUtils.write$TYPE_UINT32(output, this.level);
			com.netease.protobuf.WriteUtils.writeTag(output, com.netease.protobuf.WireType.FIXED_64_BIT, 2);
			com.netease.protobuf.WriteUtils.write$TYPE_DOUBLE(output, this.smallblind);
			com.netease.protobuf.WriteUtils.writeTag(output, com.netease.protobuf.WireType.FIXED_64_BIT, 3);
			com.netease.protobuf.WriteUtils.write$TYPE_DOUBLE(output, this.bigblind);
			com.netease.protobuf.WriteUtils.writeTag(output, com.netease.protobuf.WireType.VARINT, 4);
			com.netease.protobuf.WriteUtils.write$TYPE_UINT32(output, this.ante);
			com.netease.protobuf.WriteUtils.writeTag(output, com.netease.protobuf.WireType.VARINT, 5);
			com.netease.protobuf.WriteUtils.write$TYPE_UINT32(output, this.minute);
			for (var fieldKey:* in this) {
				super.writeUnknown(output, fieldKey);
			}
		}

		/**
		 *  @private
		 */
		override used_by_generated_code final function readFromSlice(input:flash.utils.IDataInput, bytesAfterSlice:uint):void {
			var level$count:uint = 0;
			var smallblind$count:uint = 0;
			var bigblind$count:uint = 0;
			var ante$count:uint = 0;
			var minute$count:uint = 0;
			while (input.bytesAvailable > bytesAfterSlice) {
				var tag:uint = com.netease.protobuf.ReadUtils.read$TYPE_UINT32(input);
				switch (tag >> 3) {
				case 1:
					if (level$count != 0) {
						throw new flash.errors.IOError('Bad data format: BLIND_INFO.level cannot be set twice.');
					}
					++level$count;
					this.level = com.netease.protobuf.ReadUtils.read$TYPE_UINT32(input);
					break;
				case 2:
					if (smallblind$count != 0) {
						throw new flash.errors.IOError('Bad data format: BLIND_INFO.smallblind cannot be set twice.');
					}
					++smallblind$count;
					this.smallblind = com.netease.protobuf.ReadUtils.read$TYPE_DOUBLE(input);
					break;
				case 3:
					if (bigblind$count != 0) {
						throw new flash.errors.IOError('Bad data format: BLIND_INFO.bigblind cannot be set twice.');
					}
					++bigblind$count;
					this.bigblind = com.netease.protobuf.ReadUtils.read$TYPE_DOUBLE(input);
					break;
				case 4:
					if (ante$count != 0) {
						throw new flash.errors.IOError('Bad data format: BLIND_INFO.ante cannot be set twice.');
					}
					++ante$count;
					this.ante = com.netease.protobuf.ReadUtils.read$TYPE_UINT32(input);
					break;
				case 5:
					if (minute$count != 0) {
						throw new flash.errors.IOError('Bad data format: BLIND_INFO.minute cannot be set twice.');
					}
					++minute$count;
					this.minute = com.netease.protobuf.ReadUtils.read$TYPE_UINT32(input);
					break;
				default:
					super.readUnknown(input, tag);
					break;
				}
			}
		}

	}
}
